package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.vo.UserLocationVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: UserLocationApi
 * @Author:王晨晗
 * @Description: 用户地理位置
 * @Date: 2022/01/08/11:24
 */
@Repository
public interface UserLocationApi {

    Boolean updateUserLocation1(Long userId, Double longitude, Double latitude, String address);

    UserLocationVo queryByUserId1(Long userId);

    List<UserLocationVo> queryUserFromLocation1(Double longitude, Double latitude, Double distance, Integer page, Integer pageSize);

}
